QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

DEFINES += QT_DEPRECATED_WARNINGS

#分别设置中间文件目录
MOC_DIR = build/moc
OBJECTS_DIR = build/obj
RCC_DIR = build/rcc
UI_DIR = build/ui
DESTDIR = $$PWD/bin

#ffmpeg库 windows下
win32{
    INCLUDEPATH += D:/ffmpeg-sdk/include

    LIBS += -L D:/ffmpeg-sdk/lib/win64 -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lpostproc -lswscale -lswresample

}
#ffmpeg库 unix下
unix {
    INCLUDEPATH+=/usr/local/ffmpeg/include

    LIBS+=-L/usr/local/ffmpeg/lib -lavformat -lswscale -lavcodec -lavutil -lswresample
}

SOURCES += \
    main.cpp \
    myini.cpp \
    widget.cpp

HEADERS += \
    myini.h \
    widget.h

FORMS += \
    widget.ui

include($$PWD/ffmpegProcess/ffmpegProcess.pri)
include($$PWD/udpProcess/udpProcess.pri)
include($$PWD/cameraManager/cameraManager.pri)

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES +=
